﻿using SilenthinkContract.Domain;

namespace Web.Manage.Models
{
    public static class UserControllerModel
    {
        /// <summary>
        /// 用户列表
        /// </summary>
        public class Index
        {
            public string UserName { get; set; }
            public UserStatus? Status { get; set; }
            public IPagedList<User> Users { get; set; }
        }
        /// <summary>
        /// 用户详细信息
        /// </summary>
        public class Detail
        {
            public User User { get; set; }
        }
        /// <summary>
        /// 用户订单
        /// </summary>
        public class Order
        {
            public OrderStatus? Status { get; set; }
            public IPagedList<Order> Orders { get; set; }
        }
    }
}